package ar.edu.caece.compiler.error;

import ar.edu.caece.compiler.model.Position;
import ar.edu.caece.compiler.symbol.Symbol;

public class LexicalError extends Error {

  public LexicalError(Symbol received, Position position) {
    super(received, position, "Lexical error on " + position + ". Received and invalid identifier\"" + received + "\"");
  }

}